﻿<cfscript>
/** 
* ORM BookStockIn
* 
* @hint "Hibernate persistenter t_book_stockin. 教材入库清单" 
* 
*/ 

component 
	displayname="public.service.orm.senate.BookStockIn" 
	output=false 
	persistent=true 
	selectBeforeUpdate=true dynamicInsert=true dynamicUpdate=true 
	cacheuse="Transactional" 
	entityname="BookStockIn" 
	table="t_book_stockin" 
	extends="BookStock" 
	joinColumn="tikect"
	{

	property type="numeric" name="Prise" column="prise" hint="定价";
	property type="numeric" name="Discount" column="discount" hint="折扣率";
	property type="numeric" name="Charge" column="charge" hint="实际售价";

	property name="Trades" fieldtype="many-to-one" fkcolumn="tmid" cfc="BookTradesMan"  hint="教材供应商";
	
}

</cfscript>